package com.haq.housesystem.service;

import com.github.pagehelper.PageInfo;
import com.haq.housesystem.bean.HousesOrient;
import com.haq.housesystem.bean.HousesType;

import java.util.List;

public interface HousesOrientService {
    public void insert(HousesOrient housesOrient);
    public void update(HousesOrient housesOrient);
    public void delete(int orientId);
    public void deleteByIds(int[] orientIds);
    public List<HousesOrient> selectAll();
    public HousesOrient selectById(int orientId);
    public List<HousesOrient> selectByName(String orientName);
    public  int getNumer();

    public PageInfo<HousesOrient> selectAllByPageInfo(int curPage, int size);
    public PageInfo<HousesOrient> selectByNameByPageInfo(int curPage, int size, String orientName);
}
